/* 首页样式 */
/* 版心 */
.wrapper {
    margin: 0 auto;
    width: 1200px;

}

body {
    background-color: #eee;
}

/* 头部区域 */
.header {
    height: 100px;
    background-color: #f1f3f5;
}

.header .wrapper {
    padding-top: 29.5px;
    display: flex;
}

/* logo */
.logo a {
    display: flex;
    width: 241px;
    height: 41px;
    font-size: 23px;
}

.logo .logo_word {
    padding: 3px;
    color: #666;
}

/* 占位 */
.nav {
    margin-left: 102px;
    width: 254px;
}

/* 搜索 */
.search {
    display: flex;
    margin-left: 64px;
    padding-left: 19px;
    padding-right: 12px;
    width: 412px;
    height: 40px;
    background-color: #f1f3f5;
    border-radius: 20px;
    border: 2px solid #000000;
}

.search input {
    flex: 1;
    border: 0;
    background-color: transparent;
    outline: none;
    color: #000000;
}

.search input::placeholder {
    font-style: 14px;
    color: #666;
}

.search a {
    align-self: center;
    width: 20px;
    height: 20px;
}
/* 退出登录 */
.out_login{
    display: flex;
    border: 2px solid #666;
    border-radius: 10px;
    padding-left: 2px;
    padding-right: 2px;
    color:#666;
    font-size: 1rem;
    height: auto;
}
/* 用户 */
.user {
    margin-left: 32px;
    margin-top: 4px;
    float: right;
    font-size: 23px;
    padding: 0 0 0 41px;
}

.user img {
    margin-right: 7px;
    vertical-align: middle;
}

.user a {
    color:#666;
}

/* 添加外边框 */
.user_no_login {
    display: flex;
    border: 2px solid #666;
    border-radius: 10px;
    padding-left: 2px;
    padding-right: 2px;
}

/* banner区域 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "HarmonyOS Sans", Arial, sans-serif;
}

body {
    background: #f5f7fa;
}

/* 主容器 */
.container {
    width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* 卡片样式 */
.section-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 24px;
    padding: 32px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.card-title {
    font-size: 20px;
    color: #1a1a1a;
    font-weight: 500;
}

/* 我的服务 */
.task-item {
    padding: 15px;
    margin: 10px 0;
    border-left: 4px solid;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
    align-items: center;
    transition: opacity 0.3s ease;
}

.urgent-task {
    border-color: var(--accent-orange);
    background: #fff4e6;
}

.task-info h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
}

.task-info p {
    margin: 4px 0;
    color: #666;
}

/* 个人信息样式 */
.account-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.info-block {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.phone-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 设备管理样式 */
.device-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.device-filter {
    display: flex;
    gap: 30px;
    color: #666;
}

.device-item {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-top: 16px;
}

.device-model {
    color: #1a1a1a;
    font-size: 16px;
    margin-bottom: 8px;
}

.device-sn {
    color: #666;
    font-size: 14px;
}

/* 服务信息样式 */
.service-notice {
    background: #fff8e6;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    color: #666;
}

/* 按钮样式 */
.btn {
    padding: 8px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary {
    background: #2c3e50;
    color: white;
}

.btn-primary:hover {
    background: #2c3e50;
}

.btn-ghost {
    background: transparent;
    border: 1px solid #2c3e50;
    color: #2c3e50;
}

/* 文字样式 */
.text-muted {
    color: #999;
    font-size: 14px;
    margin-top: 12px;
}

.masked-number {
    color: #333;
    letter-spacing: 1px;
}


/* 版权 */
.footer {
    height: 300px;
    background-color: #eee;
}

/* breadcrumb 区域 */
.footer .wrapper .breadcrumb {
    height: 100px;
    border-top: 2px solid #666;
    background-color: #f1f3f5;
}

.footer .wrapper .breadcrumb {
    padding: 30px 0 0 5px;
    border-bottom: 2px solid #666;
    font-size: 23px;
    color: #666;
}

/* link 区域 */
.footer .wrapper .link {
    padding: 0 5px;
    display: flex;
    height: 300px;
    background-color: #f1f3f5;
}

.footer .wrapper .link dl {
    display: block;
    width: 300px;
    background-color: #f1f3f5;
}

.footer .wrapper .link dt {
    padding: 20px 0 30px 0;
    color: #666;
    font-size: 16px;
    font-weight: 800;
}

.footer .wrapper .link dd a {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}
/* legal 区域 */
.footer .wrapper .legal{
    display: flex;
    align-items: center;
    border-top: 2px solid #666;
    padding: 0 50px 0 5px;
    display: flex;
    justify-content: space-between;
    height: 100px;
    font-size: 16px;
    color: #666;
    background-color: #f1f3f5;
}

.footer .wrapper .legal a {
    display: flex;
    align-items: center;
    width: 68px;
    height: 30.67px;
    color: #666;
    border-radius: 10px;
    border: 2px solid #666;
}
        /* 弹窗样式 */
        #addModal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }
        #redact_Modal{
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            align-items: center;
            justify-content: center;
            z-index: 1000;
        }
        .login-container {
            background: white;
            padding: 32px;
            border-radius: 12px;
            width: 480px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        }

        .login-container h2 {
            color: #1a1a1a;
            margin-bottom: 24px;
            font-size: 24px;
            font-weight: 600;
        }

        .input-group {
            margin-bottom: 20px;
        }

        .input-group label {
            display: block;
            margin-bottom: 8px;
            color: #666;
            font-size: 14px;
        }

        .input-group input {
            width: 100%;
            padding: 12px;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            font-size: 14px;
            transition: border-color 0.3s;
        }

        .input-group input:focus {
            outline: none;
            border-color: #2c3e50;
            box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
        }

        .btn1 {
            width: 100%;
            padding: 12px;
            background: #2c3e50;
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 14px;
            cursor: pointer;
            transition: background 0.3s;
        }

        .btn1:hover {
            background: #2c3e50;
        }
/* 表单展示与删除 */
        #order-container {
            margin-top: 15px;
        }
        .loading-indicator {
        padding: 15px;
        text-align: center;
        color: #666;
        animation: pulse 1.5s infinite;
    }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        .task-list-enter-active, .task-list-leave-active {
            transition: all 0.3s ease;
            max-height: 1000px;
            overflow: hidden;
        }
        .task-list-enter, .task-list-leave-to {
            opacity: 0;
            max-height: 0;
        }
        /* 增加空状态样式 */
        .empty-state {
            padding: 30px;
            text-align: center;
            border: 2px dashed #ddd;
            background: #f9f9f9;
            color: #666;
            border-radius: 8px;
            margin: 15px 0;
        }

        .empty-state img {
            width: 80px;
            opacity: 0.6;
            margin-bottom: 15px;
        }

        /* 更新加载动画 */
        .loading-indicator::after {
            content: " ";
            display: inline-block;
            width: 18px;
            height: 18px;
            margin-left: 10px;
            border-radius: 50%;
            border: 2px solid var(--primary-blue);
            border-color: var(--primary-blue) transparent var(--primary-blue) transparent;
            animation: loading 1.2s linear infinite;
        }

        @keyframes loading {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        .loading-indicator {
    display: inline-block;
    margin-left: 8px;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: 20px;
    color: #666;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

.status-badge.completed {
    background: #4CAF50;
    color: white;
}

.task-item.error {
    border-left: 4px solid #ff5252;
    background: #ffe6e6;
}